<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page isELIgnored="false" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>首页</title>

    <link type="text/css" rel="stylesheet" href="/css/bootstrap.css">
    <link href="/css/admin/materialdesignicons.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/admin/multitabs.min.css">
    <link href="/css/admin/style.min.css" rel="stylesheet">

    <script type="text/javascript" src="/js/jquery.min.js"></script>
    <script type="text/javascript" src="/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/js/admin/perfect-scrollbar.min.js"></script>
    <script type="text/javascript" src="/js/admin/multitabs.js"></script>
    <script type="text/javascript" src="/js/admin/index.min.js"></script>

</head>

<body class="full-height-layout" data-headerbg="color_8" data-logobg="color_8" data-sidebarbg="color_8">
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--左侧导航-->
        <aside class="lyear-layout-sidebar">
            <!-- logo-->
            <div id="logo" class="sidebar-header">
                <a class="multitabs" href="#">
                    <i class="mdi mdi-home"></i>
                    <span>浅阅书城 后台</span>
                </a>
            </div>

            <div class="lyear-layout-sidebar-scroll ps ps--active-y">
                <nav class="sidebar-main">
                    <ul class="nav nav-drawer">
                        <li class="nav-item active">
                            <a class="multitabs" href="/bookmall/admin/main">
                                <i class="mdi mdi-home"></i>
                                <span>后台首页</span>
                            </a>
                        </li>
                        <li class="nav-item nav-item-has-subnav">
                            <a href="javascript:void(0)">
                                <i class="mdi mdi-credit-card-multiple"></i>
                                <span>订单管理</span>
                            </a>
                            <ul class="nav nav-subnav" style="display: none;">
                                <li class="">
                                    <a class="multitabs" href="/bookmall/admin/orders/1?pageNum=1">订单列表</a>
                                </li>
                            </ul>
                        </li>

                        <li class="nav-item nav-item-has-subnav">
                            <a href="javascript:void(0)">
                                <i class="mdi mdi-account"></i>
                                <span>客户管理</span>
                            </a>
                            <ul class="nav nav-subnav" style="display: none;">
                                <li class="nav-item nav-item-has-subnav">
                                    <a class="multitabs" data-did="multitabs_users"
                                       href="/bookmall/admin/users?pageNum=1">用户列表</a>
                                    <ul class="nav nav-subnav">
                                        <li>
                                            <a class="multitabs" data-did="multitabs_user"
                                               href="/bookmall/admin/user/insert">添加用户</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>

                        <li class="nav-item nav-item-has-subnav">
                            <a href="javascript:void(0)">
                                <i class="mdi mdi-shopping"></i>
                                <span>商品管理</span>
                            </a>
                            <ul class="nav nav-subnav" style="display: none;">
                                <li class="nav-item nav-item-has-subnav">
                                    <a class="multitabs" data-did="multitabs_books"
                                       href="/bookmall/admin/books/all?pageNum=1">商品列表</a>
                                    <ul class="nav nav-subnav">
                                        <li>
                                            <a class="multitabs" data-did="multitabs_book"
                                               href="/bookmall/admin/book/insert">添加商品</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>

                        <li class="nav-item nav-item-has-subnav">
                            <a href="javascript:void(0)">
                                <i class="mdi mdi-reorder-horizontal"></i>
                                <span>类目管理</span>
                            </a>
                            <ul class="nav nav-subnav" style="display: none;">
                                <li class="">
                                    <a class="multitabs" data-did="multitabs_types"
                                       href="/bookmall/admin/types?pageNum=1">类目列表</a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </nav>

                <div class="sidebar-footer">
                    <p class="copyright">Copyright ©2022. All rights By <a href="">qianyue1226</a>.</p>
                </div>
            </div>
        </aside>
        <!--End 左侧导航-->


        <!--头部信息-->
        <header class="lyear-layout-header">
            <nav class="navbar navbar-default">
                <div class="topbar">
                    <div class="topbar-left">
                        <div class="lyear-aside-toggler"><span class="lyear-toggler-bar"></span><span
                                class="lyear-toggler-bar"></span><span class="lyear-toggler-bar"></span></div>
                    </div>
                    <ul class="topbar-right">
                        <li class="dropdown dropdown-profile">
                            <a href="javascript:void(0)" data-toggle="dropdown" aria-expanded="false">
                                    <span>${usered.userName}
                                        <span class="caret"></span>
                                    </span>
                                <c:if test="${usered.roleId ==1}"><p style="color: #d58512">系统管理员</p></c:if>

                            </a>
                            <ul class="dropdown-menu dropdown-menu-right">
                                <li>
                                    <a class="multitabs" data-url="/bookmall/admin/reset" href="javascript:void(0)">
                                        <i class="mdi mdi-lock-outline"></i>修改密码
                                    </a>
                                </li>
                                <li>
                                    <a href="/bookmall/index">
                                        <i class="mdi mdi-delete"></i>返回主页
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a href="/bookmall/admin/logout">
                                        <i class="mdi mdi-logout-variant"></i>退出登录
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        <!--End 头部信息-->

        <!--页面主要内容-->
        <main class="lyear-layout-content">
            <div id="iframe-content">

                <div class="mt-wrapper " style="height: 100%;">
                    <div class="mt-nav-bar " style="background-color: #ffffff;">
                        <div class="mt-nav mt-nav-tools-right">
                            <ul class="nav nav-tabs">
                                <li class="mt-dropdown dropdown">
                                    <ul role="menu" class="dropdown-menu dropdown-menu-right">
                                        <li class="mt-close-all-tabs"><a>关闭所有标签页</a></li>
                                        <li class="mt-close-other-tabs"><a>关闭其他标签页</a></li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>

            </div>
        </main>
        <!--End 页面主要内容-->
    </div>
</div>

</body>

</html>
